from ship import Ship


class Submarine(Ship):
    def __init__(self) -> None:
        super().__init__()
        self.set_length(2)
        self.set_name('Submarine')
